package app

import (
	"log"
	"net/http"
)

//RunServer 开始运行服务
func RunServer() {
	//启动服务器
	log.Println("Server started at localhost:12345")
	router := NewRouter()
	log.Fatal(http.ListenAndServe("127.0.0.1:12345", router))
}
